
package com.calendar.guos.client.maps;

import com.google.gwt.maps.client.InfoWindowContent;
import com.google.gwt.maps.client.geom.LatLng;
import com.google.gwt.user.client.ui.HTML;

/**
 * @author Amara Daal
 *
 */
public class MapArtifact {
	public String name;
	public String info= "";
	public LatLng location;
	public HTML schematic;

	
	/**
	 * 
	 */
	public MapArtifact(String gotName, double gotLatitude, double gotLongitude) {

		name = gotName;
		location = LatLng.newInstance(gotLatitude, gotLongitude);

	}
	public void updateSchematic(int height, int width){
		//TODO: get updated schematic based on time from xml file
		//also rotates image
        schematic = new HTML(
        "<img src=\"http://www.usask.ca/maps/congress/013_1.jpg\" width=\"" +width+"\" height=\""+height+"\"style=\"image-orientation: 90deg;\">");
        
	}

}
